package cn.gqr.service;

import cn.gqr.entity.BookType;

import java.util.List;
import java.util.Map;

public interface TypeService {

    //全部类型查询
    List<BookType> findAll();

    //全查询2
    List<BookType> findAll2();

    //id查询
    BookType findById(int id);

    //添加
    Map<String,Object> addOrUpdate(BookType bookType);

}
